<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
	version="2.0">
	<application>
		<el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>
	</application>

	<navigation-rule>
		<from-view-id>/*</from-view-id>
		<navigation-case>
			<from-outcome>index</from-outcome>
			<to-view-id>index.xhtml</to-view-id>
		</navigation-case>
		
		<navigation-case>
			<from-outcome>categoria</from-outcome>
			<to-view-id>admin/categoria.xhtml</to-view-id>
		</navigation-case>
		
		<navigation-case>
			<from-outcome>noticia</from-outcome>
			<to-view-id>admin/noticia.xhtml</to-view-id>
		</navigation-case>
		
		<navigation-case>
			<from-outcome>usuario</from-outcome>
			<to-view-id>admin/usuario.xhtml</to-view-id>
		</navigation-case>
		
		<navigation-case>
			<from-outcome>enquete</from-outcome>
			<to-view-id>admin/enquete.xhtml</to-view-id>
		</navigation-case>
		
		<navigation-case>
			<from-outcome>contato</from-outcome>
			<to-view-id>contato.xhtml</to-view-id>
		</navigation-case>
		
		<navigation-case>
			<from-outcome>anuncie</from-outcome>
			<to-view-id>anuncie.xhtml</to-view-id>
		</navigation-case>
		
		<navigation-case>
			<from-outcome>cadastro</from-outcome>
			<to-view-id>cadastro.xhtml</to-view-id>
		</navigation-case>
		
	</navigation-rule>
</faces-config>